package com.mz.common.dto;

import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Data
public class PaginationVo {

    //页索引
    @NotNull
    @Min( value=1, message = "必须大于0")
    private Long pageIndex = 1L;
    //页面条数
    @NotNull
    private Long pageSize = 20L;

}
